package com.lbank.spiderflow.core.listener;

import com.lbank.spiderflow.context.SpiderContext;
import com.lbank.spiderflow.listener.SpiderListener;
import com.lbank.spiderflow.core.utils.SeleniumResponseHolder;
import org.springframework.stereotype.Component;

@Component
public class SeleniumListener implements SpiderListener{
	
	@Override
	public void beforeStart(SpiderContext context) {
		
	}

	@Override
	public void afterEnd(SpiderContext context) {
		SeleniumResponseHolder.clear(context);
	}

}
